/**
 * Created by wxb on 2016/11/4.
 */
'use strict';

angular.module('BlurAdmin')
  .factory('osgTokenUrl', function (publicFunc) {

    var prefix = '/kt/resource/';
    var url = {
      video_token: {
        url: 'video/uploadtoken',
        method: 'GET'
      },


    };
    return publicFunc.urlAddPrefix(url, prefix);
  })
  .service('osgTokenService', function (httpService, osgTokenUrl) {
    this.videoToken = function () {
      return httpService.http({}, osgTokenUrl.video_token, {})
    };


  });
